package com.tony.pmp.model.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tony.pmp.model.entity.SysPostEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Created with IntelliJ IDEA.
 * @Title: SysPostMapper
 * @Auther: 皮蛋布丁
 * @Date: 2021/07/09/10:05
 * @Description: 岗位信息表
 */
@Mapper
public interface SysPostMapper extends BaseMapper<SysPostEntity> {

    /**
    * @Description: deleteBatch 批量删除岗位
    * @Param: [ids]
    * @return: java.lang.Integer
    * @Author: 皮蛋布丁
    * @Date: 2021/7/18 22:52
    */
    Integer deleteBatch(@Param("ids") String ids);

    int deleteByPrimaryKey(Long postId);

    int insert(SysPostEntity record);

    int insertSelective(SysPostEntity record);

    SysPostEntity selectByPrimaryKey(Long postId);

    int updateByPrimaryKeySelective(SysPostEntity record);

    int updateByPrimaryKey(SysPostEntity record);
}